﻿using FySystem.Net.SimSocket;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FyCacheClient.Pool
{
    internal class Connect
    {
        /// <summary>
        /// 连接
        /// </summary>
        internal SimClient Client { get; set; }

        /// <summary>
        /// 当前是否正在被使用
        /// </summary>
        internal bool IsUsed { get; set; } = false;

        /// <summary>
        /// 连接使用时间，用于垃圾回收（预留）
        /// </summary>
        internal DateTime UseTime { get; set; }
    }
}
